package pl.jdeveloper.derivato.web.form;

import org.apache.wicket.markup.html.form.Form;
import org.apache.wicket.markup.html.form.TextField;
import org.apache.wicket.model.Model;

public class CoordNumberForm extends Form{
	
	private static final long serialVersionUID = -9197353864219348952L;

	TextField coordNumber;
	
	
	public CoordNumberForm(String id) {
		super(id);
		add(coordNumber = new TextField("coordNumber", new Model("")));

	}
	
	
	@Override
	protected void onSubmit() {
		System.out.println((coordNumber.getModelObjectAsString()));
		
		info("coordNumber dupa");
	}
		
}
